#ifndef ADD_H
#define ADD_H

#include <QMainWindow>
#include <QTime>
#include <stdlib.h>

namespace Ui {
class add;
}

class add : public QMainWindow
{
    Q_OBJECT

public:
    explicit add(QWidget *parent = 0);
    int a = 0;
    int b = 0;
    int sum = 0;
    int total = 0;
    int right = 0;
    int wrong = 0;

    ~add();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_2_clicked();

    void check_sum();

signals:
    void sendsignal();

private:

    Ui::add *ui;
};

#endif // ADD_H
